<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class encoding | pwe-project</title>

	<script type="text/javascript" src="resources/combined.js?682347548"></script>
	<script type="text/javascript" src="elementlist.js?1761807718"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-API.html">API</a>
						</li>
				<li><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li class="active"><a href="package-PWE.html">PWE<span></span></a>
						<ul>
				<li><a href="package-PWE.bdd.html">bdd</a>
						</li>
				<li><a href="package-PWE.controler.html">controler</a>
						</li>
				<li><a href="package-PWE.modele.html">modele<span></span></a>
						<ul>
				<li><a href="package-PWE.modele.menu.html">menu</a>
						</li>
							</ul></li>
				<li class="active"><a href="package-PWE.tools.html">tools</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li class="active"><a href="class-encoding.html">encoding</a></li>
				<li><a href="class-tools_convert.html">tools_convert</a></li>
				<li><a href="class-tools_verif.html">tools_verif</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-PWE.tools.html" title="Summary of PWE\tools"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
			<li>
				<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
			</li>
			<li>
				<a href="todo.html" title="Todo list"><span>Todo</span></a>
			</li>
		</ul>
		<ul>
			<li>
				<a href="pwe-project-api-documentation.zip" title="Download documentation as ZIP archive"><span>Download</span></a>
			</li>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class encoding</h1>











	<div class="info">
		
		
		
		<b>Package:</b> <a href="package-PWE.html">PWE</a>\<a href="package-PWE.tools.html">tools</a><br />

				<b>Author:</b>
				"Sebastián Grignoli" &lt;<a
href="mailto:grignoli&#64;framework2.com.ar">grignoli&#64;<!---->framework2.com.ar</a>&gt;<br />
				<b>Version:</b>
				1.1<br />
		<b>Located at</b> <a href="source-class-encoding.html#3-259" title="Go to source code">engine/class/encoding.class.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="toUTF8" id="_toUTF8">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toUTF8">#</a>
		<code><a href="source-class-encoding.html#114-205" title="Go to source code">toUTF8</a>( <span>mixed <var>$text</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="toWin1252" id="_toWin1252">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toWin1252">#</a>
		<code><a href="source-class-encoding.html#207-218" title="Go to source code">toWin1252</a>( <span>mixed <var>$text</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="toISO8859" id="_toISO8859">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toISO8859">#</a>
		<code><a href="source-class-encoding.html#220-222" title="Go to source code">toISO8859</a>( <span>mixed <var>$text</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="toLatin1" id="_toLatin1">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toLatin1">#</a>
		<code><a href="source-class-encoding.html#224-226" title="Go to source code">toLatin1</a>( <span>mixed <var>$text</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="fixUTF8" id="_fixUTF8">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_fixUTF8">#</a>
		<code><a href="source-class-encoding.html#228-243" title="Go to source code">fixUTF8</a>( <span>mixed <var>$text</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="UTF8FixWin1252Chars" id="_UTF8FixWin1252Chars">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_UTF8FixWin1252Chars">#</a>
		<code><a href="source-class-encoding.html#245-251" title="Go to source code">UTF8FixWin1252Chars</a>( <span>mixed <var>$text</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="removeBOM" id="_removeBOM">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_removeBOM">#</a>
		<code><a href="source-class-encoding.html#253-258" title="Go to source code">removeBOM</a>( <span>mixed <var>$str</var> = <span class="php-quote">&quot;&quot;</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	</table>












	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="win1252ToUtf8" id="$win1252ToUtf8">
		<td class="attributes"><code>
			protected static 
			array
		</code></td>

		<td class="name">
				<a href="source-class-encoding.html#9-42" title="Go to source code"><var>$win1252ToUtf8</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">array</span>(
    <span class="php-num">128</span> =&gt; <span class="php-quote">&quot;\xe2\x82\xac&quot;</span>,

    <span class="php-num">130</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x9a&quot;</span>,
    <span class="php-num">131</span> =&gt; <span class="php-quote">&quot;\xc6\x92&quot;</span>,
    <span class="php-num">132</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x9e&quot;</span>,
    <span class="php-num">133</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xa6&quot;</span>,
    <span class="php-num">134</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xa0&quot;</span>,
    <span class="php-num">135</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xa1&quot;</span>,
    <span class="php-num">136</span> =&gt; <span class="php-quote">&quot;\xcb\x86&quot;</span>,
    <span class="php-num">137</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xb0&quot;</span>,
    <span class="php-num">138</span> =&gt; <span class="php-quote">&quot;\xc5\xa0&quot;</span>,
    <span class="php-num">139</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xb9&quot;</span>,
    <span class="php-num">140</span> =&gt; <span class="php-quote">&quot;\xc5\x92&quot;</span>,

    <span class="php-num">142</span> =&gt; <span class="php-quote">&quot;\xc5\xbd&quot;</span>,


    <span class="php-num">145</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x98&quot;</span>,
    <span class="php-num">146</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x99&quot;</span>,
    <span class="php-num">147</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x9c&quot;</span>,
    <span class="php-num">148</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x9d&quot;</span>,
    <span class="php-num">149</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xa2&quot;</span>,
    <span class="php-num">150</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x93&quot;</span>,
    <span class="php-num">151</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x94&quot;</span>,
    <span class="php-num">152</span> =&gt; <span class="php-quote">&quot;\xcb\x9c&quot;</span>,
    <span class="php-num">153</span> =&gt; <span class="php-quote">&quot;\xe2\x84\xa2&quot;</span>,
    <span class="php-num">154</span> =&gt; <span class="php-quote">&quot;\xc5\xa1&quot;</span>,
    <span class="php-num">155</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xba&quot;</span>,
    <span class="php-num">156</span> =&gt; <span class="php-quote">&quot;\xc5\x93&quot;</span>,

    <span class="php-num">158</span> =&gt; <span class="php-quote">&quot;\xc5\xbe&quot;</span>,
    <span class="php-num">159</span> =&gt; <span class="php-quote">&quot;\xc5\xb8&quot;</span>
  )</code></td>
		<td class="description"><div>
			<a href="#$win1252ToUtf8" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="brokenUtf8ToUtf8" id="$brokenUtf8ToUtf8">
		<td class="attributes"><code>
			protected static 
			array
		</code></td>

		<td class="name">
				<a href="source-class-encoding.html#44-77" title="Go to source code"><var>$brokenUtf8ToUtf8</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">array</span>(
    <span class="php-quote">&quot;\xc2\x80&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x82\xac&quot;</span>,
    
    <span class="php-quote">&quot;\xc2\x82&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x9a&quot;</span>,
    <span class="php-quote">&quot;\xc2\x83&quot;</span> =&gt; <span class="php-quote">&quot;\xc6\x92&quot;</span>,
    <span class="php-quote">&quot;\xc2\x84&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x9e&quot;</span>,
    <span class="php-quote">&quot;\xc2\x85&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xa6&quot;</span>,
    <span class="php-quote">&quot;\xc2\x86&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xa0&quot;</span>,
    <span class="php-quote">&quot;\xc2\x87&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xa1&quot;</span>,
    <span class="php-quote">&quot;\xc2\x88&quot;</span> =&gt; <span class="php-quote">&quot;\xcb\x86&quot;</span>,
    <span class="php-quote">&quot;\xc2\x89&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xb0&quot;</span>,
    <span class="php-quote">&quot;\xc2\x8a&quot;</span> =&gt; <span class="php-quote">&quot;\xc5\xa0&quot;</span>,
    <span class="php-quote">&quot;\xc2\x8b&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xb9&quot;</span>,
    <span class="php-quote">&quot;\xc2\x8c&quot;</span> =&gt; <span class="php-quote">&quot;\xc5\x92&quot;</span>,
    
    <span class="php-quote">&quot;\xc2\x8e&quot;</span> =&gt; <span class="php-quote">&quot;\xc5\xbd&quot;</span>,
    
    
    <span class="php-quote">&quot;\xc2\x91&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x98&quot;</span>,
    <span class="php-quote">&quot;\xc2\x92&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x99&quot;</span>,
    <span class="php-quote">&quot;\xc2\x93&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x9c&quot;</span>,
    <span class="php-quote">&quot;\xc2\x94&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x9d&quot;</span>,
    <span class="php-quote">&quot;\xc2\x95&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xa2&quot;</span>,
    <span class="php-quote">&quot;\xc2\x96&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x93&quot;</span>,
    <span class="php-quote">&quot;\xc2\x97&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\x94&quot;</span>,
    <span class="php-quote">&quot;\xc2\x98&quot;</span> =&gt; <span class="php-quote">&quot;\xcb\x9c&quot;</span>,
    <span class="php-quote">&quot;\xc2\x99&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x84\xa2&quot;</span>,
    <span class="php-quote">&quot;\xc2\x9a&quot;</span> =&gt; <span class="php-quote">&quot;\xc5\xa1&quot;</span>,
    <span class="php-quote">&quot;\xc2\x9b&quot;</span> =&gt; <span class="php-quote">&quot;\xe2\x80\xba&quot;</span>,
    <span class="php-quote">&quot;\xc2\x9c&quot;</span> =&gt; <span class="php-quote">&quot;\xc5\x93&quot;</span>,
    
    <span class="php-quote">&quot;\xc2\x9e&quot;</span> =&gt; <span class="php-quote">&quot;\xc5\xbe&quot;</span>,
    <span class="php-quote">&quot;\xc2\x9f&quot;</span> =&gt; <span class="php-quote">&quot;\xc5\xb8&quot;</span>
  )</code></td>
		<td class="description"><div>
			<a href="#$brokenUtf8ToUtf8" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="utf8ToWin1252" id="$utf8ToWin1252">
		<td class="attributes"><code>
			protected static 
			array
		</code></td>

		<td class="name">
				<a href="source-class-encoding.html#79-112" title="Go to source code"><var>$utf8ToWin1252</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">array</span>(
   <span class="php-quote">&quot;\xe2\x82\xac&quot;</span> =&gt; <span class="php-quote">&quot;\x80&quot;</span>,
   
   <span class="php-quote">&quot;\xe2\x80\x9a&quot;</span> =&gt; <span class="php-quote">&quot;\x82&quot;</span>,
   <span class="php-quote">&quot;\xc6\x92&quot;</span>     =&gt; <span class="php-quote">&quot;\x83&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\x9e&quot;</span> =&gt; <span class="php-quote">&quot;\x84&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\xa6&quot;</span> =&gt; <span class="php-quote">&quot;\x85&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\xa0&quot;</span> =&gt; <span class="php-quote">&quot;\x86&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\xa1&quot;</span> =&gt; <span class="php-quote">&quot;\x87&quot;</span>,
   <span class="php-quote">&quot;\xcb\x86&quot;</span>     =&gt; <span class="php-quote">&quot;\x88&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\xb0&quot;</span> =&gt; <span class="php-quote">&quot;\x89&quot;</span>,
   <span class="php-quote">&quot;\xc5\xa0&quot;</span>     =&gt; <span class="php-quote">&quot;\x8a&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\xb9&quot;</span> =&gt; <span class="php-quote">&quot;\x8b&quot;</span>,
   <span class="php-quote">&quot;\xc5\x92&quot;</span>     =&gt; <span class="php-quote">&quot;\x8c&quot;</span>,
   
   <span class="php-quote">&quot;\xc5\xbd&quot;</span>     =&gt; <span class="php-quote">&quot;\x8e&quot;</span>,
   
   
   <span class="php-quote">&quot;\xe2\x80\x98&quot;</span> =&gt; <span class="php-quote">&quot;\x91&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\x99&quot;</span> =&gt; <span class="php-quote">&quot;\x92&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\x9c&quot;</span> =&gt; <span class="php-quote">&quot;\x93&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\x9d&quot;</span> =&gt; <span class="php-quote">&quot;\x94&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\xa2&quot;</span> =&gt; <span class="php-quote">&quot;\x95&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\x93&quot;</span> =&gt; <span class="php-quote">&quot;\x96&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\x94&quot;</span> =&gt; <span class="php-quote">&quot;\x97&quot;</span>,
   <span class="php-quote">&quot;\xcb\x9c&quot;</span>     =&gt; <span class="php-quote">&quot;\x98&quot;</span>,
   <span class="php-quote">&quot;\xe2\x84\xa2&quot;</span> =&gt; <span class="php-quote">&quot;\x99&quot;</span>,
   <span class="php-quote">&quot;\xc5\xa1&quot;</span>     =&gt; <span class="php-quote">&quot;\x9a&quot;</span>,
   <span class="php-quote">&quot;\xe2\x80\xba&quot;</span> =&gt; <span class="php-quote">&quot;\x9b&quot;</span>,
   <span class="php-quote">&quot;\xc5\x93&quot;</span>     =&gt; <span class="php-quote">&quot;\x9c&quot;</span>,
   
   <span class="php-quote">&quot;\xc5\xbe&quot;</span>     =&gt; <span class="php-quote">&quot;\x9e&quot;</span>,
   <span class="php-quote">&quot;\xc5\xb8&quot;</span>     =&gt; <span class="php-quote">&quot;\x9f&quot;</span>
)</code></td>
		<td class="description"><div>
			<a href="#$utf8ToWin1252" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	</table>






</div>

	<div id="footer">
		pwe-project API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
